package com.ruoyi.examApproval.service;

import com.ruoyi.examApproval.domain.Approval;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IApprovalService
{
    Approval selectApprovalById(Long id);

    Approval selectApprovalByCandidateId(String candidateId);

    List<Approval> selectApprovalList();

    int insertApproval(Approval approval);

    int updateApproval(Approval approval);

    int deleteApprovalById(Long id);
}
